<?php 
	require_once '/Util/includeAll.php';
	
		if (isConnected())
		{
			//on récupère l'objet utilisateur
			$myUser = getUser(true);
			$selectedID = null;
			if (isset($_POST['selectedId']))
			{
				if ($_POST['selectedId'] != 0)
				{
					$selectedID = $_POST['selectedId'];
				}
			}
			
			$_str = getContactsListItems($selectedID);
			
			echo $_str;
		}
		else
		{
			//non connecté
		}

?>